package org.ww.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.ww.order.vo.MemberAddressVo;

import java.util.List;

/**
 * @program: gmall
 * @description: 会员服务
 * @author: ww
 * @create: 2024-05-27 11:07
 **/

@FeignClient("gmall-member")
public interface MemberFeignService {

    @GetMapping("/member/memberreceiveaddress/{memberId}/addresses")
    List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);

}
